package com.spring.runnner;

import com.spring.StartApplication;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class StartedRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("StartedRunner:" + StartApplication.configurableApplicationContext);
    }
}
